@media print {
  /* 隐藏不需要打印的元素 */
  .ant-modal-header,
  .ant-modal-footer,
  .ant-modal-close,
  .j-modal-header-button {
    display: none !important;
  }

  /* 调整打印区域的样式 */
  .ant-modal-body {
    padding: 24px;
    margin: 0;
  }

  /* 设置页面打印属性 */
  @page {
    size: A4 portrait;
    margin: 1cm;
  }

  /* 表单整体样式 */
  .print-container {
    font-size: 12px;
    line-height: 1.5;
    font-family: SimSun, serif;
  }

  /* 表头样式 */
  .form-header {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  /* 订单信息样式 */
  .order-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 15px;
    
    .info-item {
      line-height: 24px;
    }
  }

  /* 图片展示区域 */
  .image-container {
    text-align: center;
    margin: 15px 0;
    
    img {
      max-width: 300px;
      height: auto;
    }
  }

  /* 表格样式 */
  .ant-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;

    th, td {
      border: 1px solid #000;
      padding: 8px;
      text-align: center;
      font-size: 12px;
    }

    th {
      background-color: #f0f0f0 !important;
      font-weight: bold;
    }
  }

  /* 底部选项和签名区域 */
  .bottom-section {
    margin-top: 20px;

    .checkbox-group {
      margin: 10px 0;
    }

    .signature-area {
      margin-top: 15px;
      min-height: 100px;
    }
  }

  /* 页脚备注 */
  .footer-note {
    font-size: 10px;
    color: #666;
    margin-top: 20px;
  }

  /* 确保内容不被截断 */
  .ant-modal-wrap,
  .ant-modal-content {
    height: auto !important;
    overflow: visible !important;
  }

  /* 打印颜色调整 */
  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
    color: black !important;
  }
}